package com.wx.mall.order.service;

import com.wx.mall.common.vo.order.OrderItemReqVo;
import com.wx.mall.order.entity.OrderItem;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wx.mall.order.vo.OrderItemPrintReqVo;
import com.wx.mall.order.vo.OrderItemRespVo;

import java.util.List;

/**
 * <p>
 * 订单项 服务类
 * </p>
 *
 * @author j
 * @since 2020-04-13
 */
public interface IOrderItemService extends IService<OrderItem> {

    /**
     * 根据订单Id查询
     * */
   List<OrderItem> getListId(Long orderId);

    /**
     * 根据选择中的订单，使用订单id批量查询订单项
     * */
    List<OrderItemPrintReqVo> getByIdList(OrderItemReqVo ids);
}
